package com.smart.buss.service.impl;

import com.smart.buss.dao.BussDakaLogMapper;
import com.smart.buss.service.BussDakaLogService;
import com.smart.buss.vo.BussDakaLog;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class BussDakaLogServiceImpl implements BussDakaLogService {

	@Resource
	private BussDakaLogMapper bussDakaLogMapper;

	@Override
	public BussDakaLog queryObject(BussDakaLog entity) throws Exception {
		return bussDakaLogMapper.queryObject(entity);
	}

	@Override
	public List<BussDakaLog> queryList(BussDakaLog entity) throws Exception {
		return bussDakaLogMapper.queryList(entity);
	}

	@Override
	public List<BussDakaLog> queryListByPage(BussDakaLog entity) throws Exception {
		return bussDakaLogMapper.queryListByPage(entity);
	}

	@Override
	public Integer queryCount(BussDakaLog entity) throws Exception {
		return bussDakaLogMapper.queryCount(entity);
	}

	@Override
	public Integer insert(BussDakaLog entity) throws Exception {
		return bussDakaLogMapper.insert(entity);
	}

	@Override
	public Integer update(BussDakaLog entity) throws Exception {
		return bussDakaLogMapper.update(entity);
	}

	@Override
	public Integer delete(String id) throws Exception {
		return bussDakaLogMapper.delete(id);
	}

	@Override
	public Integer updateAll(BussDakaLog entity) throws Exception {
		return bussDakaLogMapper.updateAll(entity);
	}

	@Override
	public BussDakaLog getZuiDuo() throws Exception {
		return bussDakaLogMapper.getZuiDuo();
	}
}
